(function () {
    angular.module('app')
        .factory('StockManageFactory',fn);
    function fn(urlCnst) {
        var self = {};

        self.getStockInfo = function (shopId, cb) {
            urlCnst.get('get-stock-info/' + shopId, cb);
        };
        return self;
    }
})();